package com.situ.library.service.impl;

import com.situ.library.dao.IAuthDao;
import com.situ.library.dao.impl.AuthDaoImpl;
import com.situ.library.pojo.entity.Auth;
import com.situ.library.service.IAuthService;

import java.util.List;

public class AuthServiceImpl implements IAuthService {
    private IAuthDao authDao = new AuthDaoImpl();

    @Override
    public List<Auth> selectByRole(Integer role) {
        return authDao.selectByRole(role);
    }
}